home *** CD-ROM | disk | FTP | other *** search
- property pLoc
- global glocH, gtotalscroll, gimagespace, gNumImages, gobjects
-
- on new me
- pLoc = 0
- return me
- end
-
- on Run me, h
- case h of
- #mouse:
- h = the mouseH - 400
- #pause:
- h = 0
- otherwise:
- h = h - 400
- end case
- pLoc = pLoc - (h / 130.00999999999999091)
- if pLoc > gtotalscroll then
- pLoc = pLoc - gtotalscroll
- end if
- if pLoc < 0 then
- pLoc = pLoc + gtotalscroll
- end if
- repeat with ob in gobjects
- ob.prepframe(pLoc)
- end repeat
- end
-